package com.book.mapper;

import com.book.pojo.MonthlyPass;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author fk
 * @since 2023-10-14 09:16:53
 */
@Mapper
public interface MonthlyPassDao extends BaseMapper<MonthlyPass> {

    List<MonthlyPass> monthlyRanking();

    MonthlyPass monthlyRankingByBookId(Long bookId);
}
